package com.zone.gateway.center.infrastructure.dao;

import com.zone.gateway.center.infrastructure.po.GatewayServerDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: zongzi
 * @description: 网关服务器详情DAO接口
 * @date: 2025/4/24
 */
@Mapper
public interface IGatewayServerDetailDao {

    GatewayServerDetail queryGatewayServerDetail(@Param("gatewayId") String gatewayId, @Param("gatewayAddress") String gatewayAddress);

    void insert(GatewayServerDetail detail);

    void updateStatus(@Param("gatewayId") String gatewayId, @Param("gatewayAddress") String gatewayAddress, @Param("status") String status);
}